<?php
/**
 * Date: 2018/6/27
 * Time: 17:59
 * Author: zeronlee
 */
Route::group(['namespace'=>'ProjectManage'],function(){
    Route::any('pmindex', 'ProjectManageController@index')->name('admin.projectmanage.index')->middleware('access.routeNeedsPermission:projectmanage-index');
    Route::any('pmsearch', 'ProjectManageController@search')->name('admin.projectmanage.search')->middleware('access.routeNeedsPermission:projectmanage-index');
    Route::any('pmaddpage', 'ProjectManageController@addPage')->name('admin.projectmanage.addpage')->middleware('access.routeNeedsPermission:projectmanage-index');
    Route::any('pmaddrow', 'ProjectManageController@addRow')->name('admin.projectmanage.addrow')->middleware('access.routeNeedsPermission:projectmanage-add');
    Route::any('pmexport', 'ProjectManageController@export')->name('admin.projectmanage.export')->middleware('access.routeNeedsPermission:projectmanage-export');
    Route::any('pmdetail', 'ProjectManageController@detail')->name('admin.projectmanage.detail')->middleware('access.routeNeedsPermission:projectmanage-detail');
    Route::any('pmupdaterow', 'ProjectManageController@updateRow')->name('admin.projectmanage.updaterow')->middleware('access.routeNeedsPermission:projectmanage-update');
    Route::any('ckindex', 'CheckOptionController@index')->name('admin.checkoption.index')->middleware('access.routeNeedsPermission:checkoption-index');

    Route::any('ckaddpage', 'CheckOptionController@addPage')->name('admin.checkoption.addpage')->middleware('access.routeNeedsPermission:checkoption-index');
    Route::any('ckaddrow', 'CheckOptionController@addRow')->name('admin.checkoption.addrow')->middleware('access.routeNeedsPermission:checkoption-add');
    Route::any('cksearch', 'CheckOptionController@search')->name('admin.checkoption.search')->middleware('access.routeNeedsPermission:checkoption-index');
    Route::any('ckvuls', 'CheckOptionController@vuls')->name('admin.checkoption.vuls')->middleware('access.routeNeedsPermission:checkoption-projectvuls');
    Route::any('recordlist', 'ProjectManageController@recordList')->name('admin.projectmanage.recordlist')->middleware('access.routeNeedsPermission:projectmanage-detail');
    Route::any('discovervul', 'ProjectManageController@discoverVul')->name('admin.projectmanage.discovervul')->middleware('access.routeNeedsPermission:projectmanage-detail');
    Route::any('historyvul', 'ProjectManageController@historyVul')->name('admin.projectmanage.historyvul')->middleware('access.routeNeedsPermission:projectmanage-detail');
});